// 素材、炼金材料 基类
export class BaseMaterial {
    private name: string;
    private price: number;
    private description: string;
    private image: string;
    private id: number;
    private type: string;

    constructor(name: string, price: number, description: string, image: string, id: number, type: string) {
        this.name = name;
        this.price = price;
        this.description = description;
        this.image = image;
        this.id = id;
        this.type = type;
    }

    getName(): string {
        return this.name;
    }
    getPrice(): number {
        return this.price;
    }
    getDescription(): string {
        return this.description;
    }

    getImage(): string {
        return this.image;
    }

    getId(): number {
        return this.id;
    }

    getType(): string {
        return this.type;
    }







}